9e820f9944af42c036e96b4e56206ef087989023,library/src/test/java/com/digi/xbee/api/RemoteXBeeDeviceReadInfo64BitTest.java,RemoteXBeeDeviceReadInfo64BitTest,testReadDeviceInfoSuccess,#,362
Before Change
@Test
public void testReadDeviceInfoSuccess() throws XBeeException, IOException {
// Return a valid AT response when requesting the NI parameter value.
Mockito.doReturn(atCommandResponseNI).when(remoteXBeeDevice).sendATCommand(atCommandNI);
// Return a valid AT response when requesting the HV parameter value.
Mockito.doReturn(atCommandResponseHV).when(remoteXBeeDevice).sendATCommand(atCommandHV);
After Change
Mockito.doReturn(RESPONSE_HV).when(remoteXBeeDevice).getParameter(PARAMETER_HV);
// Return a valid response when requesting the VR parameter value.
Mockito.doReturn(RESPONSE_VR).when(remoteXBeeDevice).getParameter(PARAMETER_VR);
// Return a valid response when requesting the MY parameter value.
Mockito.doReturn(RESPONSE_MY).when(remoteXBeeDevice).getParameter(PARAMETER_MY);